﻿/**
 * Created in 2012-2-22.
 */
package kit4j.tests.jdk.socket;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * 
 * @author MiniKnife
 *
 */
public class TestInetAddress {

	/**
	 * @param args
	 * @throws UnknownHostException 
	 */
	public static void main(String[] args) throws UnknownHostException {

		for(InetAddress address : InetAddress.getAllByName("localhost")) {
			System.out.println(address);
		}
	}

}
